description = "Testcontainers :: OpenFGA"

dependencies {
    api project(':testcontainers')

    testImplementation 'org.assertj:assertj-core:3.25.3'
    testImplementation 'dev.openfga:openfga-sdk:0.4.2'
}

test {
    javaLauncher = javaToolchains.launcherFor {
        languageVersion = JavaLanguageVersion.of(11)
    }
}

compileTestJava {
    javaCompiler = javaToolchains.compilerFor {
        languageVersion = JavaLanguageVersion.of(11)
    }
    options.release.set(11)
}
